package com.example.hello.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.math.BigDecimal;

@Data
public class CommentDTO {
    private Long commentId;
    private Long attractionId;
    private String content;
    private Long parentCommentId;
    
    // 标记字段不序列化到JSON中
    @JsonIgnore
    private Long userId;
    
    // 评分
    private BigDecimal rating;
} 